From e39174283d1f5592dc9b7e538afe3477d1dc7948 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Fri, 18 Nov 2005 13:51:20 +0100 Subject: [PATCH] Disable live relocation for PAE and x86/64. Currently it can seriously harm Xen's health. Better to just disable it in the tools until the outstanding issues are resolved. Signed-off-by: Keir Fraser --- tools/libxc/xc_linux_save.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/libxc/xc_linux_save.c b/tools/libxc/xc_linux_save.c index 50871436b4..54cdb2ce15 100644 --- a/tools/libxc/xc_linux_save.c +++ b/tools/libxc/xc_linux_save.c @@ -729,6 +729,11 @@ int xc_linux_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters, /* Domain is still running at this point */ + if (live && (pt_levels != 2)) { + ERR("Live migration supported only for 32-bit non-pae"); + goto out; + } + if (live) { if (xc_shadow_control(xc_handle, dom, -- 2.30.2